<template>
  <el-card 
    :body-class="bodyClass"
    :shadow="shadowType"
  >
    <slot></slot>
  </el-card>
</template>

<script setup lang="ts" name="vCard">
import { defineProps, defineEmits } from 'vue';
const props = defineProps({
  // 阴影类型
  shadowType: {
    type: String,
    default: 'always'
  },
  // body 的自定义类名
  bodyClass: {
    type: String,
    default: ''
  }
})
</script>

<style scoped lang="scss">

</style>